import {BaseUrl} from "../constant/constant";
import {ApiFetch} from "../api/apiHandler";

class TokenModel {
    constructor() {
        this.url = BaseUrl
    }

    // 97./houtai/refreshtoken //刷新登录token
    // token string //用于刷新登陆token

    fresh(params) {
        let end = this.url + 'refreshtoken'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }

}

export default TokenModel
